package com.quanyan.travel.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.travel.api.req.ReqIndexTravelList;
import com.quanyan.travel.api.resp.RespTravelIndex;
import com.quanyan.travel.entity.vo.BaseActivity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: zyq
 * Date: 2016/5/27 0027
 * Time: 13:36
 */

public interface TravelIndexService {

    /**
     * 查询首页banner图以及活动筛选条件
     * @return
     */
    APIResponse<RespTravelIndex> indexProperties();

    /**
     * 查询首页活动列表
     * @return
     */

    APIResponse<PageObj<List<BaseActivity>>> indexActivities(ReqIndexTravelList request);
}
